<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
  xmlns:widget="http://www.netvibes.com/ns/">
<head>
<meta name="author" content="Mahin" />
<meta name="description" content="Activity Tracker" />
<meta name="apiVersion" content="1.0" />
<meta name="autoRefresh" content="30" />
<meta name="debugMode" content="true" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Expires" content="" />
<meta name="inline" content="true" />
<widget:preferences>
  <preference name="prjs" type="hidden" defaultValue="" />
  <preference name="alarmMin" type="hidden" defaultValue="" />
  <preference name="alarmVoice" type="hidden" defaultValue="" />
  <preference name="time" type="hidden" defaultValue="" />
  <preference name="ver" type="hidden" defaultValue="v0" />
  <preference name="open" label="Keep Activities Expanded "  type="boolean" defaultValue="false" />
</widget:preferences>
<title>Activity Tracker</title>
<link rel="icon" type="image/png" href="http://www.netvibes.com/favicon.ico" />
<style type="text/css">
.SZPMainCont {
	font-size: 11px;
	font-family: "Lucida Grande", Arial, "Trebuchet MS", Verdana, sans-serif;
	color: #454545;
	padding:1px 2px 2px 1px;
}
.SZPMainCont a:link{
	text-decoration: none;
}
.SZPMainCont a:visited{
	text-decoration: none;
}
.SZPMainCont input[type=submit]{
	border:1px solid #000000;
	height: 15px;
	font-size: 9px;
}
.SZPMainCont .submit{
	border:1px solid #000000;
	height: 15px;
	font-size: 9px;
}
.SZPMainCont table{
	border-collapse:collapse;
	font-size: 12px;
}
.SZPMainCont th{
	background-color:#95B3DE;
	text-align:left;
	padding: 1px 1px 1px 10px;
	color: #ffffff;
	font-size: 11px;
}
.SZPMainCont td{
	padding: 1px 1px 1px 1px;
}

.SZPGray{
	color: #999999;
	font-size:9px;
}
.SZPbgrd{
	background-color: #e4ecec;
	padding: 2px 2px 2px 2px;
	border: 1px solid #cccccc;
}
.SZPTitle{
	font-size: 12px;
	font-weight:bold;
	overflow: hidden;
}
.SZPEditCont{
	background-color: #e4ecec;
	padding: 2px 5px 2px 5px;
}
.SZPEditCont td{
	border-bottom:0px solid #ccc;
}
.SZPrjCont{
	border-bottom:1px solid #cccccc;
}
.SZPrjCont .SZPTitle{
	font-weight:bold;
}
.SZPrjShow{
	border-bottom:1px solid #cccccc;
	background-color:#F3F3F3;
}
.SZPrjCont .SZPsub{
	display:none;
}
.SZPrjCont .SZPInTime{
	display:none;
}
.SZPrjShow .SZPsub{
	background-color:#F3F3F3;
}
.SZPrjShow .SZPInTime{
	display:none;
}
.SZPrjIn{
	border-bottom:1px solid #ccc;
	background-color:#fff8c6;
}
.SZPrjIn .SZsub{
	background-color:#fff8c6;
}
.SZPrjIn .SZPlink{
display:none;
}
.SZPrjIn .SZPEdit{
	display:none;
}
.SZPin{
width:55px;height:20px;background-color:#00FF00;font-size: 9px;
}
.SZPout{
width:55px;height:20px;background-color:#FF0000;font-size: 9px;
}
.SZPSmall{
	font-size:9px;
}
.SZPlog {
	font-size:9px;
	background-color: #ffffff;
}
.SZPlog td{
font-size:9px;
	border-bottom:2px solid #e4ecec;
}
.SZop {
	opacity: .3;
	filter: alpha(opacity=30);
}
</style>
<link rel="stylesheet" type="text/css" href="http://www.netvibes.com/themes/uwa/style.css" />
<script type="text/javascript" src="http://www.netvibes.com/js/UWA/load.js.php?env=Standalone"></script>
<script type="text/javascript">
var JSON=function(){var m={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","\"":"\\\"","\\":"\\\\"},s={"boolean":function(x){return String(x);},number:function(x){return isFinite(x)?String(x):"null";},string:function(x){if(/["\\\x00-\x1f]/.test(x)){x=x.replace(/([\x00-\x1f\\"])/g,function(a,b){var c=m[b];if(c){return c;}c=b.charCodeAt();return "\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16);});}return "\""+x+"\"";},object:function(x){if(x){var a=[],b,f,i,l,v;if(x instanceof Array){a[0]="[";l=x.length;for(i=0;i<l;i+=1){v=x[i];f=s[typeof v];if(f){v=f(v);if(typeof v=="string"){if(b){a[a.length]=",";}a[a.length]=v;b=true;}}}a[a.length]="]";}else{if(x instanceof Object){a[0]="{";for(i in x){v=x[i];f=s[typeof v];if(f){v=f(v);if(typeof v=="string"){if(b){a[a.length]=",";}a.push(s.string(i),":",v);b=true;}}}a[a.length]="}";}else{return;}}return a.join("");}return "null";}};return {copyright:"(c)2005 JSON.org",license:"http://www.crockford.com/JSON/license.html",stringify:function(v){var f=s[typeof v];if(f){v=f(v);if(typeof v=="string"){return v;}}return null;},parse:function(_12){try{return !(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(_12.replace(/"(\\.|[^"\\])*"/g,"")))&&eval("("+_12+")");}catch(e){return false;}}};}();
var SZP={};SZP.msgType="alert";SZP.ps=null;SZP.tmr=null;SZP.tblDnd=null;SZP.trim=function(s){if(s){return s.replace(/^\s+|\s+$/,"").replace(/([:"'\f\b\n\t\r])/gm,"");}else{return "";}};SZP.byId=function(_2){return document.getElementById(_2);};SZP.cElm=function(_3){return widget.createElement(_3);};SZP.bdy=function(){return widget.body;};SZP.msg=function(_4){if(SZP.msgType!="alert"){var d=SZP.byId(SZP.map("msgE"));d.style.display="";d.innerHTML="<a href=\"/\" onclick=\"SZP.cmsg();return false;\">[X]</a>&nbsp;"+_4;SZP.adjH();}else{alert(_4);}};SZP.cmsg=function(){var d=SZP.byId(SZP.map("msgE"));d.style.display="none";SZP.adjH();};SZP.p=function(){this.id;this.name;this.pt;this.n="";this.tot=0;this.ty="o";this.lg;};SZP.rstP=function(_7,_8){var _9=_7.id;_7.id=(new Date()).getTime()+_8;_7.pt=0;_7.n="";_7.tot=0;_7.ty="o";_7.lg=null;var _a=SZP.byId(_9);var _b=SZP.dom(_7,_a.getAttribute("szi"),true);var _c=_a.nextSibling;var _d=_a.parentNode;_d.removeChild(_a);_d.insertBefore(_b,_c);if(SZP.tblDnd){SZP.tblDnd.initRow(_b);}};SZP.updVer=function(){};SZP.aP=function(){var d=SZP.byId(SZP.map("afd"));d.style.display="";SZP.byId(SZP.map("af")).name.focus();SZP.adjH();};SZP.nP=function(_f){var p=new SZP.p();if(_f.name.value.indexOf(":")>=0){SZP.msg(SZP.i18n("nValidChar",[":"]));return;}if(_f.name.value.indexOf(">")>=0){SZP.msg(SZP.i18n("nValidChar",[">"]));return;}p.name=escape(SZP.trim(_f.name.value));p.tot=0;p.ty="o";p.id=(new Date()).getTime();if(!SZP.ps){SZP.ps=new Array();}SZP.ps.push(p);SZP.sPrj();var d=SZP.byId(SZP.map("afd"));d.style.display="none";if(SZP.ps.length==1){SZP.rndr(null,null,null,true);}else{SZP.add(p);}SZP.adjH();_f.name.value="";};SZP.addC=function(){var d=SZP.byId(SZP.map("afd"));d.style.display="none";SZP.adjH();};SZP.getP=function(pid){if(SZP.ps&&SZP.ps.length>0){for(i=0;i<SZP.ps.length;i++){if(SZP.ps[i].id==pid){return SZP.ps[i];}}}return null;};SZP.rst=function(pid){var flg=confirm(SZP.i18n("rstWarn"));if(!flg){return;}var p=SZP.getP(pid);if(p){SZP.rstP(p,1);SZP.sPrj();SZP.rndr(false,p,false,true);SZP.adjAlrm();}};SZP.rmv=function(pid){var flg=confirm(SZP.i18n("rmvWarn"));if(!flg){return;}if(SZP.ps&&SZP.ps.length>0){for(var i=0;i<SZP.ps.length;i++){if(SZP.ps[i].id==pid){SZP.ps.splice(i,1);SZP.sPrj();if(SZP.ps.length<=0){var _1a=SZP.byId(pid);_1a.parentNode.removeChild(_1a);}else{SZP.rndr();}SZP.adjH();break;}}}};SZP.tStr=function(_1b){if(_1b){var hr=Math.floor(_1b/3600000);_1b=_1b-(hr*3600000);var min=Math.floor(_1b/60000);return (hr>0?(hr==1?""+hr+"&nbsp;"+SZP.i18n("hour"):""+hr+"&nbsp;"+SZP.i18n("hours")):"")+" "+(min>0?(min==1?""+min+"&nbsp;"+SZP.i18n("min"):""+min+"&nbsp;"+SZP.i18n("mins")):"0&nbsp;"+SZP.i18n("min"));}return "0&nbsp;"+SZP.i18n("min");};SZP.mon=function(val){switch(val){case 0:return SZP.i18n("Jan");case 1:return SZP.i18n("Feb");case 2:return SZP.i18n("Mar");case 3:return SZP.i18n("Apr");case 4:return SZP.i18n("May");case 5:return SZP.i18n("Jun");case 6:return SZP.i18n("Jul");case 7:return SZP.i18n("Aug");case 8:return SZP.i18n("Sep");case 9:return SZP.i18n("Oct");case 10:return SZP.i18n("Nov");case 11:return SZP.i18n("Dec");}};SZP.dtDisp=function(_1f){var d=new Date(_1f);var t=" "+d.getDate()+"-"+SZP.mon(d.getMonth())+"-"+d.getFullYear();if(d.getHours()!=0||d.getMinutes()!=0){t=t+(d.getHours()>9?" "+d.getHours():" 0"+d.getHours())+":"+(d.getMinutes()>9?d.getMinutes():"0"+d.getMinutes());}return t;};SZP.ply=function(){var _22=SZP.gPrf("time","int");var _23=SZP.gPrf("alarmMin","int");if(_23&&_22){var now=(new Date()).getTime();var _25=Math.floor((now-_22)/60000);if(_25>=_23){var min=Math.floor(_25/_23);if(min<=0){min=1;}SZP.sPrf("time",(_22+(min*_23*60000)));var _27=SZP.gPrf("alarmVoice","str");if(!_27){_27="meng.wav";}SZP.byId(SZP.map("ply")).innerHTML="<embed enablejavascript=\"false\" hidden=\"true\" width=\"0\" height=\"0\" autostart=\"true\" name=\"_ALaS2P\" id=\"_ALaS2P\"  src=\"http://www.screeperzone.com/static/"+_27+"\"/>";}}};SZP.prjG=function(){if(SZP.ps&&SZP.ps.length>0){var p="";for(i=0;i<SZP.ps.length;i++){p=p+SZP.ps[i].tot+":"+SZP.ps[i].id+":"+unescape(SZP.ps[i].name)+">";}var frm=SZP.byId(SZP.map("prf"));frm.SZPP.value=p;d=new Date();frm.SZPTO.value=d.getTimezoneOffset();frm.SZPTM.value=d.getTime();if(SZP.type=="goog"){frm.submit();}else{SZP.ow(SZP.map("prf"),"http://www.screeperzone.com/punchclock/graph.htm");}}else{alert(SZP.i18n("notFound"));}};SZP.ow=function(n,u){var cw=open("","_fwd_"+Math.floor((Math.random()*1000000)));if(!cw.opener){cw.opener=self;}cw.document.write("<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"></head><body>Loading..<form id=\"_f\" action=\""+u+"\" method=\"post\" target=\"_top\"><input type=\"hidden\" name=\"SZPLog\" value=\"\" /><input type=\"hidden\" name=\"SZPTM\" value=\"\" /><input type=\"hidden\" name=\"SZPTO\" value=\"\" /><input type=\"hidden\" name=\"SZPT\" value=\"\" /><input type=\"hidden\" name=\"SZPPN\" value=\"\" /><input type=\"hidden\" name=\"SZPP\" value=\"\" /></form></body></html>");var _2d=cw.document.getElementById("_f");var _2e=SZP.byId(n);_2d.SZPLog.value=_2e.SZPLog.value;_2d.SZPTM.value=_2e.SZPTM.value;_2d.SZPTO.value=_2e.SZPTO.value;_2d.SZPT.value=_2e.SZPT.value;_2d.SZPPN.value=_2e.SZPPN.value;_2d.SZPP.value=_2e.SZPP.value;_2d.submit();};SZP.log=function(pid){var p=SZP.getP(pid);if(p){var log="";if(p.lg){var _32=p.lg;for(var i=0;i<_32.length;i++){if(_32[i][1]=="i"){log=log+_32[i][0]+" "+_32[i][1]+(_32[i][2]?(" "+_32[i][2].replace(/\s+/g,"*")+":"):" -:");}else{log=log+_32[i][0]+" "+_32[i][1]+":";}}}var frm=SZP.byId(SZP.map("lgf"));frm.SZPLog.value=log;frm.SZPT.value=p.tot;frm.SZPPN.value=unescape(p.name);var d=new Date();frm.SZPTO.value=d.getTimezoneOffset();frm.SZPTM.value=d.getTime();if(SZP.type=="goog"){frm.submit();}else{SZP.ow(SZP.map("lgf"),"http://www.screeperzone.com/punchclock/log.htm");}}else{alert(SZP.i18n("notFound"));}};SZP.rstA=function(){var flg=confirm(SZP.i18n("rstAllWarn"));if(!flg){return;}if(SZP.ps&&SZP.ps.length>0){for(i=0;i<SZP.ps.length;i++){var p=SZP.ps[i];SZP.rstP(p,(i+1));}SZP.sPrj();SZP.rndr();SZP.adjAlrm();SZP.adjH();}};SZP.ammO=function(){SZP.byId(SZP.map("ald")).style.display="";SZP.adjH();};SZP.almC=function(){SZP.byId(SZP.map("ald")).style.display="none";SZP.adjH();};SZP.almS=function(frm){SZP.sPrf("alarmMin",frm._aMin.value);SZP.sPrf("alarmVoice",frm._aVoice.value);SZP.sPrf("time",(new Date()).getTime());SZP.byId(SZP.map("ald")).style.display="none";SZP.adjH();};SZP.edtC=function(){SZP.rndr();SZP.byId(SZP.map("efd")).style.display="none";SZP.byId(SZP.map("m")).style.display="";SZP.adjH();};SZP.edt=function(pid,_3a){var p=_3a;if(!p){p=SZP.getP(pid);}if(p){var frm=SZP.byId(SZP.map("ef"));frm.pid.value=p.id;frm.name.value=unescape(p.name);var hr=Math.floor(p.tot/3600000);frm.hr.value=hr;var min=p.tot-(hr*3600000);min=Math.floor(min/60000);frm.min.value=min;SZP.popMon(frm.lmon);SZP.popMon(frm.imon);SZP.popMon(frm.omon);var _3f=SZP.byId(SZP.map("lgd"));_3f.innerHTML="None";var _40=null;var _41="";if(p.lg&&p.lg.length>=2){var _42=p.lg,_43=0,txt="",lgO,lgI;txt="<table width=\"100%\"><tbody>";for(var i=_42.length-1;i>=1&&_43<6;){lgO=_42[i];if(lgO[1]!="o"){i--;continue;}lgI=_42[--i];if(!_40&&_41==""){_41=lgI[2];}if(!_40){_40=lgO[0];}txt=txt+"<tr><td width=\"2\"><a href=\"/\" onclick=\"SZP.delLog("+p.id+","+lgI[0]+"); return false;\">[X]</a>&nbsp;</td><td><b>In&nbsp; :</b> "+SZP.dtDisp(lgI[0])+"<br/><b>Out:</b> "+SZP.dtDisp(lgO[0])+"</td>";_43++;}txt=txt+"</tbody></table>";_3f.innerHTML=txt;}if(!_40){SZP.byId(SZP.map("lpo")).style.display="none";}else{SZP.popDate([frm.ldate,frm.lmon,frm.lyear,frm.lhour,frm.lmin,frm.atime],_40);SZP.byId(SZP.map("lpo")).style.display="";frm.lnote.value=_41;}var _48=new Date();SZP.popDate([frm.idate,frm.imon,frm.iyear,frm.ihour,frm.imin],_48.getTime());SZP.popDate([frm.odate,frm.omon,frm.oyear,frm.ohour,frm.omin],_48.getTime()+3600000);SZP.byId(SZP.map("efd")).style.display="";SZP.byId(SZP.map("m")).style.display="none";var _49=SZP.byId(SZP.map("ad"));if(_49.innerHTML==""){_49.innerHTML="<center><iframe src=\"http://www.screeperzone.com/static/otherPCTimeManage.html\" width=\"195\" height=\"170\" frameborder=\"0\" scrolling=\"no\"></iframe><br/></center>";}SZP.adjH();}};SZP.edtS=function(frm){var p=SZP.getP(frm.pid.value);if(p){var hr=parseInt(frm.hr.value);var min=parseInt(frm.min.value);if((hr||hr==0)&&(min||min==0)){var tot=(hr*3600000)+(min*60000);if(p.tot!=tot){p.tot=tot;if(!p.lg){p.lg=new Array();}var d=(new Date()).getTime(),_50=p.lg,_51=false;for(var i=_50.length-1;i>=0;i--){if(_50[i][1]=="e"){_50.splice(i+1,0,[tot,"e"]);_51=true;break;}else{if(_50[i][1]=="o"&&_50[i][0]<=d){_50.splice(i+1,0,[tot,"e"]);_51=true;break;}}}if(!_51){p.lg.push([tot,"e"]);}}}p.name=escape(SZP.trim(frm.name.value));SZP.sPrj();}else{alert(SZP.i18n("notFound"));}};SZP.addNote=function(_53,_54){var _55=SZP.getP(_53);if(_55){_55.n=SZP.trim(_54.value);SZP.sPrj();}else{alert(SZP.i18n("notFound"));}};SZP.delLog=function(_56,_57){var _58=SZP.getP(_56);if(_58){if(_58.lg){var _59=_58.lg;for(var i=_59.length-1;i>=0;i--){if(_59[i][0]==_57){var _5b=_59[i+1][0];_58.tot=_58.tot-(_5b-_57);_59.splice(i,2);SZP.sPrj();SZP.edt(null,_58);SZP.adjH();return;}}}}};SZP.svLLog=function(frm){var _5d=SZP.getP(frm.pid.value);if(_5d&&_5d.lg){var _5e=_5d.lg;for(var i=_5e.length-1;i>=0;i--){if(_5e[i][1]=="o"){var _60=SZP.rdDate([frm.ldate,frm.lmon,frm.lyear,frm.lhour,frm.lmin,frm.atime]);if(_60){if(_5e[i-1][0]>=_60.getTime()){SZP.msg(SZP.i18n("outTime",[SZP.dtDisp(_5e[i-1][0])]));return;}_5d.tot=_5d.tot+(_60.getTime()-_5e[i][0]);_5e[i][0]=_60.getTime();_5e[i-1][2]=SZP.trim(frm.lnote.value);SZP.sPrj();SZP.edt(null,_5d);}return;}}}};SZP.svNew=function(frm){var _62=SZP.getP(frm.pid.value);if(_62){var _63=SZP.rdDate([frm.odate,frm.omon,frm.oyear,frm.ohour,frm.omin]);var _64=SZP.rdDate([frm.idate,frm.imon,frm.iyear,frm.ihour,frm.imin]);if(_63&&_64){if(_63.getTime()<=_64.getTime()){SZP.msg(SZP.i18n("outTime",[SZP.dtDisp(_64.getTime())]));return;}var _65=_63.getTime()-_64.getTime();if(_62.lg&&_62.lg.length>0){var _66=_62.lg,_67=null,_68=false,_69=null;frm.note.value=SZP.trim(frm.note.value);for(var i=_66.length-1;i>=0;i--){if(_66[i][1]=="o"){_69=i;if(_66[i][0]>_64.getTime()){_67=_66[i-1];continue;}else{if(!_67||_67[0]>=_63.getTime()){_66.splice(i+1,0,[_64.getTime(),"i",frm.note.value]);_66.splice(i+2,0,[_63.getTime(),"o"]);_62.tot=_62.tot+_65;_68=true;break;}else{SZP.msg(SZP.i18n("overlap",[SZP.dtDisp(_67[0])]));return;}}}}if(!_68){if(!_69){_66.push([_64.getTime(),"i",frm.note.value]);_66.push([_63.getTime(),"o"]);}else{if(_66[_69-1][0]<_63.getTime()){SZP.msg(SZP.i18n("overlap",[SZP.dtDisp(_66[_69-1][0])]));return;}else{_66.splice(_69-1,0,[_64.getTime(),"i",frm.note.value]);_66.splice(_69,0,[_63.getTime(),"o"]);}}_62.tot=_62.tot+_65;}}else{_62.lg=new Array();_62.lg.push([_64.getTime(),"i",frm.note.value]);_62.lg.push([_63.getTime(),"o"]);_62.tot=_62.tot+_65;}SZP.sPrj();SZP.edt(null,_62);SZP.adjH();return;}}};SZP.popMon=function(_6b){if(_6b.options.length<=0){var _6c=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var _6d=null;for(var i=0;i<_6c.length;i++){_6d=SZP.cElm("option");_6d.value=i;_6d.innerHTML=SZP.i18n(_6c[i]);_6b.appendChild(_6d);}}};SZP.popDate=function(_6f,_70){if(!_70){_70=(new Date()).getTime();}var _71=new Date(_70);_6f[0].value=_71.getDate();_6f[1].selectedIndex=_71.getMonth();_6f[2].value=_71.getFullYear();_6f[3].value=_71.getHours();_6f[4].value=_71.getMinutes();if(_6f[5]){_6f[5].value=_70;}};SZP.rdDate=function(_72){var day=parseInt(_72[0].value);if(!day||day<=0||day>31){SZP.msg(SZP.i18n("vdate"));return null;}var _74=parseInt(_72[1].value);var _75=parseInt(_72[2].value);if(!_75||_75<2007){SZP.msg(SZP.i18n("vyear"));return null;}var _76=parseInt(_72[3].value);if((!_76&&_76!=0)||_76<0||_76>23){SZP.msg(SZP.i18n("vhour"));return null;}var _77=parseInt(_72[4].value);if((!_77&&_77!=0)||_77<0||_77>59){SZP.msg(SZP.i18n("vmin"));return null;}var _78=null;if(_72[5]){var _79=parseInt(_72[5].value);if(_79){_78=new Date(_79);}}if(!_78){_78=new Date(0);}_78.setDate(day);_78.setMonth(_74);_78.setFullYear(_75);_78.setHours(_76);_78.setMinutes(_77);if(!_72[5]){_78.setSeconds(0);}return _78;};SZP.pin=function(pid){var p;if(SZP.ps&&SZP.ps.length>0){for(i=0;i<SZP.ps.length;i++){if(SZP.ps[i].id==pid){p=SZP.ps[i];}else{if(SZP.ps[i].ty=="i"){SZP.pout(0,SZP.ps[i]);}}}}if(p){p.pt=(new Date()).getTime();p.ty="i";SZP.sPrj();SZP.rndr(false,p);SZP.adjAlrm();SZP.adjH();}};SZP.adjAlrm=function(){var t=SZP.gPrf("time","int");if(t){var dt=(new Date()).getTime();if(t<dt){SZP.sPrf("time",dt);}}};SZP.pout=function(pid,p){if(!p){p=SZP.getP(pid);}if(p&&p.ty!="o"){var d=(new Date()).getTime();if(!p.lg){p.lg=new Array();p.tot=p.tot+d-p.pt;p.lg.push([p.pt,"i",p.n]);p.lg.push([d,"o"]);}else{var _81=p.lg,_82=null,_83=false,_84=null;for(var i=_81.length-1;i>=0;i--){if(_81[i][1]=="o"||_81[i][1]=="e"){if(_81[i][1]=="o"){_84=i;}if(_81[i][1]=="o"&&_81[i][0]>p.pt){_82=_81[i-1];continue;}else{if(!_82||_82[0]>=d){_81.splice(i+1,0,[p.pt,"i",p.n]);_81.splice(i+2,0,[d,"o"]);p.tot=p.tot+d-p.pt;_83=true;break;}else{SZP.msg(SZP.i18n("overlap"),[SZP.dtDisp(_82[0])]);_83=true;break;}}}}if(!_83){if(!_84){_81.push([p.pt,"i",p.n]);_81.push([d,"o"]);}else{if(_81[_84-1][0]<d){SZP.msg(SZP.i18n("overlap",[SZP.dtDisp(_81[_84-1][0])]));_83=true;}else{_81.splice(_84-1,0,[p.pt,"i",p.n]);_81.splice(_84,0,[d,"o"]);}}if(!_83){p.tot=p.tot+d-p.pt;}}}p.ty="o";p.pt=0;p.n="";SZP.sPrj();SZP.rndr(false,p,false,true);SZP.adjAlrm();SZP.adjH();}};SZP.clrL=function(pid){var flg=confirm(SZP.i18n("clogsWarn"));if(!flg){return;}var p=SZP.getP(pid);if(p){p.lg=null;SZP.sPrj();}};SZP.clrA=function(){var flg=confirm(SZP.i18n("clrAllLogsWarn"));if(!flg){return;}if(SZP.ps&&SZP.ps.length>0){for(i=0;i<SZP.ps.length;i++){SZP.ps[i].lg=null;}SZP.sPrj();}};SZP.hide=function(_8a){_8a.parentNode.className="SZPrjCont";_8a.onclick=function(){SZP.show(this);return false;};SZP.adjH();};SZP.show=function(_8b){_8b.parentNode.className="SZPrjShow";_8b.onclick=function(){SZP.hide(this);return false;};SZP.adjH();};SZP.add=function(_8c){if(_8c){var _8d=SZP.dom(_8c,SZP.ps.length-1,true);var _8e=SZP.byId(SZP.map("m"));_8e.appendChild(_8d);var _8f=SZP.byId("f"+_8c.id);if(SZP.byId(SZP.map("efd")).style.display!=""){_8f.focus();}if(!SZP.tblDnd){SZP.tblDnd=new SZP.DDrop();SZP.tblDnd.init(_8e.parentNode);}else{SZP.tblDnd.initRow(_8d);}SZP.adjH();}};SZP.dom=function(_90,_91,_92){if(_90){var _93=SZP.cElm("tr");_93.id=_90.id;_93.setAttribute("szi",_91);var _94=SZP.cElm("td");var _95=SZP.cElm("div");var _96=SZP.cElm("table");_96.style.width="100%";if(_90.ty=="i"){_95.className="SZPrjIn";}else{if(_92){_95.className="SZPrjShow";_96.onclick=function(){SZP.hide(this);return false;};}else{_95.className="SZPrjCont";_96.onclick=function(){SZP.show(this);return false;};}}var _97=SZP.cElm("tr");var td1=SZP.cElm("td");td1.style.overflow="hidden";td1.innerHTML="<div style=\"overflow:hidden;\"><a href=\"/\" title=\"delete\" onclick=\"SZP.rmv("+_90.id+"); event.cancelBubble=true;return false;\">[X]</a>&nbsp;<span class=\"SZPTitle\">"+unescape(_90.name)+"</span></div>";var td2=SZP.cElm("td");td2.align="right";if(_90.ty=="i"){td2.innerHTML="<button class=\"SZPout\" onclick=\"SZP.pout("+_90.id+");event.cancelBubble=true;\" ><b>"+SZP.i18n("OUT")+"</b></button>";}else{td2.innerHTML="<button class=\"SZPin\" onclick=\"SZP.pin("+_90.id+");event.cancelBubble=true;\" ><b>"+SZP.i18n("IN")+"</b></button>";}_97.appendChild(td1);_97.appendChild(td2);var _9a=SZP.cElm("tbody");_9a.appendChild(_97);_96.appendChild(_9a);var _9b=SZP.cElm("td");_9b.nowrap="nowrap";_9b.onclick=function(_9c){if(!_9c){_9c=window.event;}_9c.cancelBubble=true;};_9b.onmousedown=function(_9d){if(!_9d){_9d=window.event;}_9d.cancelBubble=true;};_9b.innerHTML="<span class=\"SZPEdit\"><a href=\"/\" title=\"edit\" class=\"SZPSmall\" onclick=\"SZP.edt("+_90.id+"); return false;\">"+SZP.i18n("edit")+"</a> | <a href=\"/\" title=\"log\" class=\"SZPSmall\" onclick=\"SZP.log("+_90.id+"); return false;\">"+SZP.i18n("log")+"</a> | <a href=\"/\" class=\"SZPSmall\" title=\"clear logs\" onclick=\"SZP.clrL("+_90.id+"); return false;\">"+SZP.i18n("clogs")+"</a> | <a href=\"/\" title=\"reset\" class=\"SZPSmall\" onclick=\"SZP.rst("+_90.id+"); return false;\">"+SZP.i18n("reset")+"</a><br/></span><span class=\"SZPGray\">"+SZP.i18n("Started")+" : "+SZP.dtDisp(_90.id)+"</span><span class=\"SZPGray SZPInTime\"><br/>"+SZP.i18n("intime")+" : "+SZP.dtDisp(_90.pt)+"<form style=\"margin:0; padding:0;\" onsubmit=\"return false;\"><br/><input type=\"text\" maxlength=\"50\" style=\"width:120\" value=\""+((_90.n&&_90.n.length>0)?_90.n:"")+"\" onchange=\"SZP.addNote("+_90.id+", this);\" /><input class=\"submit\" style=\"width:30\" type=\"submit\" value=\"Save\"/></form></span>";var _9e=SZP.cElm("td");_9e.align="right";if(_90.ty=="i"){_9e.innerHTML="<strong>"+SZP.tStr(_90.tot+((new Date()).getTime()-_90.pt))+"</strong>";}else{_9e.innerHTML="<strong>"+SZP.tStr(_90.tot)+"</strong>";}var _9f=SZP.cElm("tr");_9f.appendChild(_9b);_9f.appendChild(_9e);var _a0=SZP.cElm("tbody");_a0.appendChild(_9f);var _a1=SZP.cElm("table");_a1.style.width="100%";_a1.appendChild(_a0);var _a2=SZP.cElm("div");_a2.className="SZPsub";_a2.style.width="100%";_a2.appendChild(_a1);_95.appendChild(_96);_95.appendChild(_a2);var _a3=SZP.cElm("a");_a3.id="f"+_90.id;_a3.href="";_95.appendChild(_a3);_94.appendChild(_95);_93.appendChild(_94);return _93;}};SZP.swap=function(_a4,_a5){if(_a4==_a5||_a4==null||_a5==null){return;}var _a6=SZP.ps[_a4];if(_a6){SZP.ps.splice(_a4,1);SZP.ps.splice(_a5,0,_a6);SZP.sPrj();}};SZP.rndr=function(_a7,_a8,_a9,_aa){clearTimeout(SZP.tmr);SZP.tmr=setTimeout("SZP.rndr(true, null, true)",60000);var _ab=SZP.gPrf("open","bool");if(_ab){_aa=true;}if(_a8){var _ac=SZP.byId(_a8.id);var _ad=SZP.dom(_a8,_ac.getAttribute("szi"),_aa);var _ae=_ac.nextSibling;var _af=_ac.parentNode;_af.removeChild(_ac);_af.insertBefore(_ad,_ae);if(SZP.tblDnd){SZP.tblDnd.initRow(_ad);}}else{if(_a9){if(SZP.ps&&SZP.ps.length>0){for(var i=0;i<SZP.ps.length;i++){if(SZP.ps[i].ty=="i"){var _b1=SZP.byId(SZP.ps[i].id);var _b2=SZP.dom(SZP.ps[i],_b1.getAttribute("szi"));var _ae=_b1.nextSibling;var _af=_b1.parentNode;_af.removeChild(_b1);_af.insertBefore(_b2,_ae);if(SZP.tblDnd){SZP.tblDnd.initRow(_b2);}break;}}}}else{if(SZP.ps&&SZP.ps.length>0){var _b3=SZP.cElm("tbody");_b3.id=SZP.map("m");_b3.style.display="";var _b4;for(var i=0;i<SZP.ps.length;i++){_b4=SZP.dom(SZP.ps[i],i,_aa);if(_b4){_b3.appendChild(_b4);}}var _b5=SZP.byId(SZP.map("mt"));_b5.removeChild(SZP.byId(SZP.map("m")));_b5.appendChild(_b3);SZP.tblDnd=new SZP.DDrop();SZP.tblDnd.init(_b5);}else{_a7=false;}}}if(_a7){setTimeout("SZP.ply()",3000);if(SZP.isUpdated("SZPPCNV")){SZP.byId(SZP.map("cont")).className="SZPMainCont SZop";}}SZP.adjH();};SZP.addEvent=function(obj,evt,fn){if(obj.addEventListener){obj.addEventListener(evt,fn,false);}else{if(obj.attachEvent){obj.attachEvent("on"+evt,fn);}}};SZP.rmvEvent=function(obj,evt,fn){if(obj.removeEventListener){obj.removeEventListener(evt,fn,false);}else{if(obj.detachEvent){obj.detachEvent("on"+evt,fn);}}};SZP.DDrop=function(){this.dO=null;this.mO=null;this.t=null;this.oldY=0;this.mE=null;this.uE=null;this.initRow=function(_bc){this.makeDraggable(_bc);};this.init=function(_bd){this.t=_bd;var _be=_bd.tBodies[0].rows;for(var i=0;i<_be.length;i++){this.makeDraggable(_be[i]);}var _c0=this;this.mE=function(ev){if(_c0.dO){ev=ev||window.event;var _c2=_c0.mouseCoords(ev);var y=_c2.y-_c0.mO.y;if(y!=_c0.oldY){var _c4=y>_c0.oldY;_c0.oldY=y;_c0.dO.style.backgroundColor="#ffff99";var _c5=_c0.getTargetTR(y);if(_c5){if(_c4&&_c0.dO!=_c5&&_c0.dO!=_c5.nextSibling){_c0.dO.parentNode.insertBefore(_c0.dO,_c5.nextSibling);var _c6=_c0.dO.getAttribute("szi");if(_c0.dO.getAttribute("aszi")==null){_c0.dO.setAttribute("aszi",_c6);}_c0.dO.setAttribute("szi",_c5.getAttribute("szi"));_c5.setAttribute("szi",_c6);}else{if(!_c4&&_c0.dO!=_c5){var _c7=_c5.getAttribute("szi");if(_c7<_c0.dO.getAttribute("szi")){_c0.dO.parentNode.insertBefore(_c0.dO,_c5);_c5.setAttribute("szi",_c0.dO.getAttribute("szi"));if(_c0.dO.getAttribute("aszi")==null){_c0.dO.setAttribute("aszi",_c0.dO.getAttribute("szi"));}_c0.dO.setAttribute("szi",_c7);}}}}}return false;}};SZP.addEvent(this.t.parentNode,"mousemove",this.mE);this.uE=function(ev){if(_c0.dO!=null){var _c9=_c0.dO;_c9.style.backgroundColor="transparent";_c0.dO=null;_c0.onDrop(_c0.table,_c9);}};SZP.addEvent(this.t.parentNode,"mouseup",this.uE);};this.onDrop=function(_ca,_cb){SZP.swap(_cb.getAttribute("aszi"),_cb.getAttribute("szi"));_cb.removeAttribute("aszi");};this.getPosition=function(e){var _cd=0;var top=0;if(e.offsetHeight==0){e=e.firstChild;}while(e.offsetParent){_cd+=e.offsetLeft;top+=e.offsetTop;e=e.offsetParent;}_cd+=e.offsetLeft;top+=e.offsetTop;return {x:_cd,y:top};};this.mouseCoords=function(ev){if(ev.pageX||ev.pageY){return {x:ev.pageX,y:ev.pageY};}return {x:ev.clientX+SZP.bdy().scrollLeft-SZP.bdy().clientLeft,y:ev.clientY+SZP.bdy().scrollTop-SZP.bdy().clientTop};};this.getMouseOffset=function(_d0,ev){ev=ev||window.event;var _d2=this.getPosition(_d0);var _d3=this.mouseCoords(ev);return {x:_d3.x-_d2.x,y:_d3.y-_d2.y};};this.makeDraggable=function(_d4){if(!_d4){return;}var _d5=this;_d4.onmousedown=function(ev){ev=ev||window.event;_d5.dO=this;_d5.mO=_d5.getMouseOffset(this,ev);ev.cancelBubble=true;return false;};_d4.style.cursor="default";};this.getTargetTR=function(y){var _d8=this.t.tBodies[0].rows;var row,_da,_db;for(var i=0;i<_d8.length;i++){row=_d8[i];_da=this.getPosition(row).y;_db=parseInt(row.offsetHeight)/2;if(row.offsetHeight==0){_da=this.getPosition(row.firstChild).y;_db=parseInt(row.firstChild.offsetHeight)/2;}if((y>_da-_db)&&(y<(_da+_db))){return row;}}return null;};this.uninit=function(){SZP.rmvEvent(this.t.parentNode,"mousemove",this.mE);SZP.rmvEvent(this.t.parentNode,"mouseup",this.uE);};};SZP.uV=null;SZP.load=function(key){SZP.uV=SZP.gC(key);};SZP.isUpdated=function(key){var _df=SZP.gC(key);if(SZP.uV&&_df&&_df!=SZP.uV){return true;}return false;};SZP.upd=function(key){var _e1=new Date();var _e2=_e1.getTime();_e1.setTime(_e2+2592000000);SZP.sC(key,_e2,_e1);SZP.uV=_e2;};SZP.sC=function(_e3,_e4,_e5,_e6,_e7,_e8){document.cookie=_e3+"="+escape(_e4)+((_e5)?"; expires="+_e5.toGMTString():"")+((_e6)?"; path="+_e6:"")+((_e7)?"; domain="+_e7:"")+((_e8)?"; secure":"");};SZP.gC=function(_e9){var _ea=_e9+"=";var _eb=document.cookie.indexOf(_ea);if(_eb==-1){return null;}var end=document.cookie.indexOf(";",_eb+_ea.length);if(end==-1){end=document.cookie.length;}var _ed=document.cookie.substring(_eb+_ea.length,end);return unescape(_ed);};
SZP.type = 'uwa';
SZP.gPrf = function(key, type){
	var val = widget.getValue(key);
	if("int" == type){
		if(val) return parseInt(val);
		else return 0;
	}
	if("str" == type) return val;
	if("bool" == type){
		if(!val || val=="false") return false;
		return true;
	}
	return null;
}
SZP.sPrf = function(key, value){
	widget.setValue(key, value);
}
SZP.ld = function(){
	var jsonPrjs = SZP.gPrf('prjs', 'str');
	if(jsonPrjs){
		jsonPrjs = jsonPrjs.replace(/[\\]+/g, "");
		SZP.ps = JSON.parse(jsonPrjs);
		SZP.rndr(true);
		var t = SZP.gPrf('alarmMin', 'int');
		if(t){
			var os = SZP.byId(SZP.map('alf'))._aMin.options;
			for(var i=0; i< os.length; i++){
				if(os[i].value == t) os[i].selected = true;
				else os[i].selected = false;
			}
		}
		SZP.load('SZPPCNV');
	}
	SZP.adjH();
}
SZP.sPrj = function(){
	if(SZP.isUpdated('SZPPCNV')){
		SZP.byId(SZP.map('cont')).className = 'SZPMainCont SZop';
		alert('Updated in another browser window. Please REFRESH this page !');return;
	}
	SZP.sPrf('prjs', JSON.stringify(SZP.ps));
	SZP.upd('SZPPCNV');
}
SZP.map = function(n){
	switch(n){
		case 'm': return '_main';
		case 'mt': return '_mainT';
		case 'afd': return '_addFrmDiv';
		case 'af': return '_addFrm';
		case 'efd': return '_edFrmDv'; //edit form div
		case 'ef': return '_edFrm'; //edit form
		case 'ply': return '_plaY';
		case 'msg': return '_msgDv';
		case 'lgf': return '_logFrm';
		case 'prf': return '_prjFrm';
		case 'ald': return '_alarmDiv';
		case 'alf': return '_alarmFrm';
		case 'lgd': return '_edLogDv'; //display last 6 logs.
		case 'ad': return '_edAdDv'; //ad div.
		case 'lpo': return '_edLastDv'; //last punchout time div.
		case 'cont': return '_cont';
		case 'msgE': return '_msg';

	}
}
SZP.adjH = function(){
}
SZP.i18n = function(key, rv){
	var vl = SZP.en(key);
	if(rv && rv.length >0){
	for(var i=0; i< rv.length; i++){
		vl = vl.replace(new RegExp("@"+(i+1),"g"), rv[i]);
	}
	}return vl;
}
SZP.en = function(k){
	switch(k){
		case 'aevery': return 'Alert Every';
		case 'nalert': return 'No Alert';
		case 'fcurtime': return 'From Current Time';
		case 'svoice': return 'Select Voice';
		case 'tvoice': return 'Test Voice';
		case 'fEng' : return 'Female (English)';
		case 'mEng' : return 'Male (English)';
		case 'fFrn' : return 'Female (French)';
		case 'fGrmn' : return 'Female (German)';
		case 'fSpn' : return 'Female (Spanish)';
		case 'rstAll': return 'Reset All';
		case 'rstAllWarn': return 'Are you sure you want to reset hours and logs for all activities ?';
		case 'clrAllLogs': return 'Clear All Logs';
		case 'clrAllLogsWarn': return 'Are you sure you want to clear logs for all activities ?';
		case 'sdate': return 'Start Date';
		case 'addnew': return 'Add New';
		case 'clogs' :return 'clear logs';
		case 'clogsWarn' : return 'Are you sure you want to clear logs for this activity?';
		case 'rmvWarn' : return 'Are you sure you want to delete this activity?';
		case 'rstWarn' : return "Are you sure you want to reset this activity's total hours ?";
		case 'intime' : return 'In Time';
		case 'nValidChar': return 'Invalid character "@1"';
		case 'notFound': return 'Sorry ! Activity Not Found.';
		case 'outTime': return 'Out time must be greater than In time "@1"';
		case 'overlap': return 'Another log entry dated "@1" is overlapping with this timeslot. Discarding this entry.';
		case 'vdate' : return 'Enter a valid date';
		case 'vyear' : return 'Enter a valid year';
		case 'vhour' : return 'Enter a valid hour';
		case 'vmin' : return 'Enter a valid minute';
		case 'dsve' : return 'Data saved !';
	}
	return k;
}
widget.onLoad = function() {
	SZP.ld();
}
</script>
</head>
<body>
<div style="padding:2px 2px 2px 2px" ><strong><a target="_blank" href="http://www.screeperzone.com/atplus/blog.jsp">More robust version of Activity Tracker now Available.</a></strong></div>

	<div id="_cont" class="SZPMainCont">
		<!-- div style="padding:2px 2px 2px 2px;" ><strong><a style="color:red;" target="_blank" href="http://screeperzone.com/2008/02/23/activity-tracker-generate-summary-of-your-weekly-time-report/">New Feature Update !</a></strong></div -->
		<div id="_msg" style="padding:2px 2px 2px 2px;background-color:#fff4c2;display:none;color:red" ></div>
		<div align="right" style="border-bottom:3px solid #cccccc">
			<a href="/" class="SZPSmall" onclick="SZP.ammO();return false;">Alert</a>|&nbsp;<a href="/" class="SZPSmall" onclick="SZP.rstA();return false;">Reset All</a> |&nbsp;<a href="/" class="SZPSmall" onclick="SZP.clrA();return false;">Clear All Logs</a>|&nbsp;<a href="/" class="SZPSmall" onclick="SZP.prjG();return false;">Graph</a>|&nbsp;<a href="/" class="SZPSmall" onclick="SZP.aP();return false;" accesskey="N">Add New</a>
		</div>
		<div id="_alarmDiv" style="display:none" class="SZPbgrd">
		<form id="_alarmFrm" onsubmit="SZP.almS(this);return false;">
			<div align="right"><a title="close" href="/" onclick="SZP.almC(); return false;" ><b>[X]</b></a></div>
			<table width="100%">
				<tr>
					<td  align="right">
						Alert Every: &nbsp;
					</td>
					<td>
						<select name="_aMin" id="_aMin">
							<option value="0">No Alert</option>
							<option value="15">15 mins</option>
							<option value="30">30 mins</option>
							<option value="45">45 mins</option>
							<option value="60">1 hour</option>
							<option value="90">1.5 hour</option>
							<option value="120">2 hours</option>
							<option value="150">2.5 hours</option>
							<option value="180">3 hours</option>
							<option value="240">4 hours</option>
							<option value="300">5 hours</option>
							<option value="360">6 hours</option>
							<option value="420">7 hours</option>
							<option value="480">8 hours</option>
						</select>
						<div class="SZPGray">from current time</div>
					</td>
				</tr>
				<tr>
					<td align="right">
						Select Voice &nbsp;
					</td>
					<td>
						<select name="_aVoice" id="_aVoice">
							<option value="leng.wav">Female(English)</option>
							<option value="meng.wav">Male(English)</option>
							<option value="french.wav">Female(French)</option>
							<option value="german.wav">Female(German)</option>
							<option value="spanish.wav">Female(Spanish)</option>
						</select>
						<div class="SZPGray"><a href="http://www.screeperzone.com/static/voicetest.html" class="SZPSmall">Test Voice</a></div>
					</td>
				</tr>
				<tr>
					<td colspan="2"><center><input class="submit" type="submit" value="Save" /></center></td>
				</tr>
			</table>
		</form>
		</div>
		<span id="_plaY"></span>
		<div id="_addFrmDiv" style="display:none" class="SZPbgrd">
		<form id="_logFrm" action="http://www.screeperzone.com/punchclock/log.htm" method="post">
			<input type="hidden" name="SZPLog" value="" />
			<input type="hidden" name="SZPTM" value="" />
			<input type="hidden" name="SZPTO" value="" />
			<input type="hidden" name="SZPT" value="" />
			<input type="hidden" name="SZPPN" value="" />
			<input type="hidden" name="SZPP" value="" />
		</form>
		<form id="_prjFrm" action="http://www.screeperzone.com/punchclock/graph.htm" method="post">
			<input type="hidden" name="SZPLog" value="" />
			<input type="hidden" name="SZPTM" value="" />
			<input type="hidden" name="SZPTO" value="" />
			<input type="hidden" name="SZPT" value="" />
			<input type="hidden" name="SZPPN" value="" />
			<input type="hidden" name="SZPP" value="" />
		</form>
		<form id="_addFrm" onsubmit="SZP.nP(this);return false;">
			<div align="right"><a title="close" href="/" onclick="SZP.addC(); return false;" ><b>[X]</b></a></div>
			<table width="100%">
				<tr>
					<td  align="right">
						Activity:
					</td>
					<td>
						<input type="text" value="" name="name" id="name"/>
					</td>
				</tr>
				<tr>
					<td colspan="2"><center><input type="submit" class="submit" value="Save" /></center></td>
				</tr>
			</table>
		</form>
		</div>
			<div id="_edFrmDv"  style="display:none" class="SZPEditCont">
				<div align="right"><a title="close" href="/" onclick="SZP.edtC(); return false;" ><b>[X]</b></a></div>
				<div id="_edAdDv"></div>
				<form id="_edFrm" onsubmit="return false;">


				<input type="hidden" name="pid" value="" />

				<!-- editing the hour and minutes -->
				<table width="100%">
					<tr>
						<td align="right">Activity: </td>
						<td><input type="text" name="name" value="" maxlength="50"/></td>
					</tr>
					<tr>
						<td align="right">hours: </td>
						<td><input type="text" name="hr" size="3" maxlength="7" value="" /> minutes: <input type="text" name="min" maxlength="7" value="" style="width:30px"/></td>
					</tr>
					<tr>
						<td colspan="2"><center><input type="submit" class="submit" value="Save" onclick="SZP.edtS(this.form);" /></center></td>
					</tr>
				</table>

				<!-- last 6 log activity -->
				<strong><span class="SZPSmall"><i>Last 6 logs</i></span></strong>
				<div class="SZPlog" id="_edLogDv">
				</div>

				<!-- last out time -->
				<div id="_edLastDv" style="border:3px solid #cccccc;" align="center">
				<span class="SZPSmall" >Last out time</span>
				<table>
					<tr>
						<td>
							<div class="SZPSmall">dd</div>
							<input name="ldate" type="text" value="" size="1" style="width:25px" maxlength="2"/>
						</td>
						<td>
							<div class="SZPSmall">MMM</div>
							<select name="lmon">
								<option value="0">Jan</option>
								<option value="1">Feb</option>
								<option value="2">Mar</option>
								<option value="3">Apr</option>
								<option value="4">May</option>
								<option value="5">Jun</option>
								<option value="6">Jul</option>
								<option value="7">Aug</option>
								<option value="8">Sep</option>
								<option value="9">Oct</option>
								<option value="10">Nov</option>
								<option value="11">Dec</option>
							</select>
						</td>
						<td>
							<div class="SZPSmall">yyyy</div>
							<input name="lyear" type="text" value="" size="2" maxlength="4"/>
						</td>
						<td>
							<div class="SZPSmall">HH</div>
							<input name="lhour" type="text" value="" size="1" style="width:25px" maxlength="2"/>
						</td>
						<td>
							<div class="SZPSmall">mm</div>
							<input name="lmin" type="text" value="" size="1" style="width:25px" maxlength="2"/>
							<input name="atime" type="hidden" value="" />
						</td>
					</tr>
					<tr>
						<td valign="top">
							<div class="SZPSmall">NOTE:</div>
						</td>
						<td colspan="4">
							<input name="lnote" type="text" value="" maxlength="50" style="width:100%"/>
							<div class="SZPSmall">clear logs weekly if you are adding notes</div>
						</td>
					</tr>
					<tr>
						<td colspan="5" align="center"><input type="submit" class="submit" value="Save" onclick="SZP.svLLog(this.form);"/></td>
					</tr>
				</table>
				</div>
				<br/>
				<div style="border:3px solid #cccccc" align="center">
				<span class="SZPSmall" >New Entry</span>
				<table>
					<tr>
						<td colspan="5" class="SZPSmall">In Time:</td>
					</tr>
					<tr>
						<td>
							<div class="SZPSmall">dd</div>
							<input name="idate" type="text" value="" style="width:25px" size="1" maxlength="2"/>
						</td>
						<td>
							<div class="SZPSmall">MMM</div>
							<select name="imon">
								<option value="0">Jan</option>
								<option value="1">Feb</option>
								<option value="2">Mar</option>
								<option value="3">Apr</option>
								<option value="4">May</option>
								<option value="5">Jun</option>
								<option value="6">Jul</option>
								<option value="7">Aug</option>
								<option value="8">Sep</option>
								<option value="9">Oct</option>
								<option value="10">Nov</option>
								<option value="11">Dec</option>
							</select>
						</td>
						<td>
							<div class="SZPSmall">yyyy</div>
							<input name="iyear" type="text" value="" size="2" maxlength="4"/>
						</td>
						<td>
							<div class="SZPSmall">HH</div>
							<input name="ihour" type="text" value="00" style="width:25px" size="1" maxlength="2"/>
						</td>
						<td>
							<div class="SZPSmall">mm</div>
							<input name="imin" type="text" value="00" style="width:25px" size="1" maxlength="2"/>
						</td>
					</tr>
					<tr>
						<td colspan="5" class="SZPSmall">Out Time:</td>
					</tr>
					<tr>
						<td>
							<div class="SZPSmall">dd</div>
							<input name="odate" type="text" value="" style="width:25px" size="1" maxlength="2"/>
						</td>
						<td>
							<div class="SZPSmall">MMM</div>
							<select name="omon">
								<option value="0">Jan</option>
								<option value="1">Feb</option>
								<option value="2">Mar</option>
								<option value="3">Apr</option>
								<option value="4">May</option>
								<option value="5">Jun</option>
								<option value="6">Jul</option>
								<option value="7">Aug</option>
								<option value="8">Sep</option>
								<option value="9">Oct</option>
								<option value="10">Nov</option>
								<option value="11">Dec</option>
							</select>
						</td>
						<td>
							<div class="SZPSmall">yyyy</div>
							<input name="oyear" type="text" value="" size="2" maxlength="4"/>
						</td>
						<td>
							<div class="SZPSmall">HH</div>
							<input name="ohour" type="text" value="00" style="width:25px" size="1" maxlength="2"/>
						</td>
						<td>
							<div class="SZPSmall">mm</div>
							<input name="omin" type="text" value="00" style="width:25px" size="1" maxlength="2"/>
						</td>
					</tr>
					<tr>
						<td colspan="5" class="SZPSmall">NOTE:</td>
					</tr>
					<tr>
						<td colspan="5">
							<input name="note" type="text" value="" maxlength="50" style="width:100%"/>
							<div class="SZPSmall">clear logs weekly if you are adding notes</div>
						</td>
					</tr>
					<tr>
						<td colspan="5" align="center"><input type="submit" class="submit" value="Save" onclick="SZP.svNew(this.form);"/></td>
					</tr>
				</table>
				</div>
				</form>
			</div>

		<div>
			<table width="100%" id="_mainT">
				<tbody id="_main" style="display:;">
				</tbody>
			</table>
		</div>
		<div class="SZPSmall" align="right"><a href="http://www.screeperzone.com/punchclock/" target="_blank">Help?</a></div>
	</div>
</body>
</html>